<!DOCTYPE html>
<html lang="zh">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      var uname = prompt("请输入姓名：");
      var age = prompt("请输入年龄：");
      var sex = prompt("请输入性别：");
      alert("别急，正在上传身份信息，坐下喝杯茶吧！");
      console.log(
        "您叫" +
          uname +
          "今年" +
          age +
          "岁" +
          "，" +
          "性别为" +
          sex +
          "，知道了。接下来..." +
          "爱好为" +
          sex +
          "?"
      );
      alert(
        "您叫" +
          uname +
          "今年" +
          age +
          "岁" +
          "，" +
          "性别为" +
          sex +
          "，知道了。接下来..." +
          "爱好为" +
          sex +
          "?"
      );
      var c =
        "您叫" +
        uname +
        "今年" +
        age +
        "岁" +
        "，" +
        "性别为" +
        sex +
        "，知道了。接下来..." +
        "爱好为" +
        sex +
        "?";
      document.write(c);
      //   console.log(`他叫${uname}今年${age}`);
    </script>
  </body>
</html>
